
import request from '@/utils/api.js'

// 个性签名

export const getAutograph = (params) =>{
	return request.get('/my/explain',params)
}
// 海报tab
export const getMyPosterNav = (params) =>{
	return request.get('/my/posterNav',params)
}

// 海报列表
export const getMyPoster = (params) =>{
	return request.get('/my/poster',params)
}

export const getMyPosterCode = (params) =>{
	return request.get('/my/qrcode',params)
}
// 提现规则
export const getWithdrawalRule = (params) =>{
	return request.get('/my/ruleWithdrawals',params)
}
// 修改个人信息
export const setUserInfo = (params) =>{ 
	return request.post('/my/update',params)
}

// 装修金明细
export const getDecorationGoldDetailed = (params) =>{ 
	return request.get('/my/zxDetail',params)
}

// 装修金明细规则
export const getDecorationGoldDetailedRule = (params) =>{ 
	return request.get('/my/fitmentRule',params)
}

// 用户注销
export const setUserDelete = (params) =>{ 
	return request.post('/my/deleteUser',params)
}

// 我的角色列表
export const setRoleList = (params) =>{ 
	return request.get('/my/roleList',params)
}

// 我的邀请
export const setInvite = (params) =>{ 
	return request.post('/my/invite',params)
}

export const getStatistics = (params) =>{ 
	return request.get('/my/statistics',params)
}

// 我的邀请列表
export const setInviteStatus = (params) =>{ 
	return request.post('/my/applyStatus',params)
}

// 我的邀请列表
export const getInviteList = (params) =>{ 
	return request.get('/my/applyList',params)
}

// 获取个人信息地址
export const getZoneName = (params) =>{ 
	return request.get('/common/zoneName',params)
}

// 我的收藏
export const getCollection = (params) => request.get('/my/myCollect',params)


// -----------------------------------------------     房屋档案start
// list
export const getHouseRecordList = (params) =>{ 
	return request.get('/my/houseRecordList',params)
}
// 详情
export const getHouseRecordInfo = (params) =>{ 
	return request.get('/my/houseRecordInfo',params)
}
// 根据地区获取小区
export const houseRQuarters = (params) =>{ 
	return request.get('/my/houseRQuarters',params)
}
// 新建
export const getHouseRecordAdd = (params) =>{ 
	return request.post('/my/addHouseRecord',params)
}
// 编辑
export const getHouseRecordEdit = (params) =>{ 
	return request.post('/my/updateHouseRecord',params)
}
// -----------------------------------------------     房屋档案end

//  -----------------------------------------------     order start
// 精算单 
export const getShopCart = (params) =>{ 
	return request.get('/shop/listShopCart',params)
}

// 确认订单详情 
export const getConfirmOrderCart = (params) =>{ 
	return request.get('/order/shopCartList',params)
}

// 确认订单详情 (营销)
export const getConfirmOrderCartYX = (params) =>{ 
	return request.get('/order/activityOrderInfo',params)
}

// 生成订单
export const setSubmitOrder = (params) =>{ 
	return request.post('/order/submitOrder',params)
}

// 生成订单(营销)
export const setSubmitOrderYX = (params) =>{ 
	return request.post('/order/activityOrder',params)
}


export const getIntegralProportion = (params) =>{ 
	return request.get('/common/fitment',params)
}

// 生成订单cart
export const setOrderCart = (params) =>{ 
	return request.post('/order/shopCartList',params)
}

// 我的订单 list
export const getOrderList = (params) =>{ 
	return request.get('/order/myOrder',params)
}

// 评论里的 猜你想说
export const getWantSay = (params) =>{ 
	return request.get('/order/wantSay',params)
}

// 快递查询
export const getLogisticsProgress = (params) =>{ 
	return request.get('/order/parcelLocation',params)
}


// 确认收货 
export const setConfirmReceipt= (params) =>{ 
	return request.post('/order/getGoods',params)
}

// 添加评论
export const getCommentAdd= (params) =>{ 
	return request.post('/order/createComment',params)
}


// 账户明细
export const getAccountDetails= (params) =>{ 
	return request.post('/my/zhDetail',params)
}

// 提现申请明细
export const getAccountwithdraw= (params) =>{ 
	return request.post('/order/Accountwithdraw',params)
}

// 获取订单详情
export const getOrderInfotDetails= (params) =>{ 
	return request.get('/order/orderInfo',params)
}

// 加入购物车
export const setAddCart= (params) =>{ 
	return request.get('/order/toCart',params)
}

// 已生成订单支付
export const setOrderPay= (params) =>{ 
	return request.post('/order/payOne',params)
}

export const setdeleteCart= (params) =>{ 
	return request.post('/order/delShopCart',params)
}

// 取消订单
export const orderCloseOrder= (params) =>{ 
	return request.post('/order/closeOrder',params)
}






// 判断是否添加为接收方
export const getWxfzjsOrder= (params) =>{ 
	return request.post('/order/wxfzjsOrder',params)
}

// 请求多次分账
export const getProfitsharing= (params) =>{ 
	return request.post('/order/getProfitsharing',params)
}
// 申请成为二级商户
export const getwxsftaddOrder = (params) =>{ 
	return request.post('/order/wxsftaddOrder',params)
}

// 查询二级商户申请状态
export const getapplymentsOrder = (params) =>{ 
	return request.post('/order/getapplymentsOrder',params)
}

// 商户信息变更
export const yopyee_merchantinfomodify = (params) =>{ 
	return request.post('/order/yopyee_merchantinfomodify',params)
}

// 查询驳回原因
export const getapplymentbohuisOrder = (params) =>{ 
	return request.post('/order/getapplymentbohuisOrder',params)
}

// 查询驳回原因
export const getapplymentmsgOrder = (params) =>{ 
	return request.post('/order/getapplymentmsgOrder',params)
}

// 商户预约提现
export const getProfitWithdrawal= (params) =>{ 
	return request.post('/order/getProfitWithdrawal',params)
}

// 商户提现查询接口
export const getPWithdrawalquery= (params) =>{ 
	return request.post('/order/getPWithdrawalquery',params)
}

// 查询二级商户实时余额
export const getprojectbalance= (params) =>{ 
	return request.post('/order/getprojectbalance',params)
}










// 浏览历史
export const get_goods_browse_record= (params) =>{ 
	return request.post('/my/get_goods_browse_record',params)
}

// 地址管理
export const get_address_manage= (params) =>{ 
	return request.post('/my/get_address_manage',params)
}
// 地址管理列表
export const addressmanage_list= (params) =>{ 
	return request.post('/my/addressmanage_list',params)
}
// 意见反馈
export const get_addfeedback= (params) =>{ 
	return request.post('/my/get_addfeedback',params)
}
// 意见反馈列表
export const addfeedback_list= (params) =>{ 
	return request.post('/my/addfeedback_list',params)
}
// 管理中心查
export const managementcenter_list= (params) =>{ 
	return request.post('/my/managementcenter_list',params)
}



// 查询会话记录
export const conversation_get= (params) =>{ 
	return request.post('/im/conversation_get',params)
}



// 申请退款
export const setConfirmtuikuan = (params) =>{ 
	return request.get('/order/setConfirmtuikuan',params)
}

//访客登记提交
export const setVisitorRegistration = (params) =>{ 
	return request.get('/my/setVisitorRegistration',params)
}
//访客登记列表
export const getVisitorRegistrationlist = (params) =>{ 
	return request.get('/my/getVisitorRegistrationlist',params)
}

//充值
export const userRecharge = (params) =>{ 
	return request.get('/order/userRecharge',params)
}

//  -----------------------------------------------     order end



